package com.cell.pojo.DTO.user.loginaccount;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author cloudJiang
 * @date 2022/6/27 11:38
 */
@Data
public class ResetPasswordDTO {
    @NotBlank(message = "密码不能为空")
    @Length(min = 8, message = "密码不能小于八位")
    String password;
    @NotNull(message = "账户id不能为空")
    Long loginAccountId;
}
